package com.openlogic.api.logic.dto;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.openlogic.api.logic.entity.RuleSqlModelColumn;

/**
 * @ClassName: RuleModelDto
 * @Description: 决策参数模型DTO
 * @author weiyongpeng
 * @date 2024年11月28日 下午5:07:03
 */
public class RuleModelDto implements Serializable {

	private static final long serialVersionUID = 1L;

	private String id;

	/**
	 * 规则模型id
	 */
	private String ruleId;

	/**
	 * 参数类别
	 */
	private String modelType;

	/**
	 * 参数标题（中文名）
	 */
	private String modelTitle;

	/**
	 * 参数标题（中文名）
	 */
	private String name;

	/**
	 * 参数数据类型
	 */
	private String dataType;

	/**
	 * 变量英文标识key
	 */
	private String modelIdentify;

	/**
	 * 参数可见性 0：公共；1私有
	 */
	private String modelScopeType;

	/**
	 * 节点ID
	 */
	private String nodeId;

	/**
	 * 节点关联关系表ID
	 */
	private String ruleModelNodeId;

	/**
	 * 是否是参数列表添加 1 是 ；0 不是
	 */
	private String isNodeParam;

	/**
	 * sql数据源ID
	 */
	private String sqlDataSourceId;

	/**
	 * sql参数类型，0:基础参数；1:sql参数
	 */
	private String modelCategory;

	/**
	 * sql语句
	 */
	private String sqlexp;

	/**
	 * sql参数
	 */
	private String sqlParam;

	/**
	 * sql参数的列项
	 */
	private List<RuleSqlModelColumn> sqlColumn;

	/**
	 * 备注
	 */
	private String remark;

	private String createBy;

	private Date createTime;

	private String updateBy;

	private Date updateTime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getRuleId() {
		return ruleId;
	}

	public void setRuleId(String ruleId) {
		this.ruleId = ruleId;
	}

	public String getModelType() {
		return modelType;
	}

	public void setModelType(String modelType) {
		this.modelType = modelType;
	}

	public String getModelTitle() {
		return modelTitle;
	}

	public void setModelTitle(String modelTitle) {
		this.modelTitle = modelTitle;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDataType() {
		return dataType;
	}

	public void setDataType(String dataType) {
		this.dataType = dataType;
	}

	public String getModelIdentify() {
		return modelIdentify;
	}

	public void setModelIdentify(String modelIdentify) {
		this.modelIdentify = modelIdentify;
	}

	public String getModelScopeType() {
		return modelScopeType;
	}

	public void setModelScopeType(String modelScopeType) {
		this.modelScopeType = modelScopeType;
	}

	public String getNodeId() {
		return nodeId;
	}

	public void setNodeId(String nodeId) {
		this.nodeId = nodeId;
	}

	public String getRuleModelNodeId() {
		return ruleModelNodeId;
	}

	public void setRuleModelNodeId(String ruleModelNodeId) {
		this.ruleModelNodeId = ruleModelNodeId;
	}

	public String getIsNodeParam() {
		return isNodeParam;
	}

	public void setIsNodeParam(String isNodeParam) {
		this.isNodeParam = isNodeParam;
	}

	public String getSqlDataSourceId() {
		return sqlDataSourceId;
	}

	public void setSqlDataSourceId(String sqlDataSourceId) {
		this.sqlDataSourceId = sqlDataSourceId;
	}

	public String getModelCategory() {
		return modelCategory;
	}

	public void setModelCategory(String modelCategory) {
		this.modelCategory = modelCategory;
	}

	public String getSqlexp() {
		return sqlexp;
	}

	public void setSqlexp(String sqlexp) {
		this.sqlexp = sqlexp;
	}

	public String getSqlParam() {
		return sqlParam;
	}

	public void setSqlParam(String sqlParam) {
		this.sqlParam = sqlParam;
	}

	public List<RuleSqlModelColumn> getSqlColumn() {
		return sqlColumn;
	}

	public void setSqlColumn(List<RuleSqlModelColumn> sqlColumn) {
		this.sqlColumn = sqlColumn;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
